<% for attribute in attributes -%>
<p>
  <b><%= attribute.column.human_name %>:</b>
  <%%=h @<%= singular_name %>.<%= attribute.name %> %>
</p>

<% end -%>

<%%= link_to 'Edit', edit_<%= link_name_singular %>_path(@<%= singular_name %>) %> |
<%%= link_to 'Back', <%= link_name_plural %>_path %>
